<div class="container">
      <div class="row">
        <div class="col-md-12">
          <div class="panel panel-visible">
            <div class="panel-heading">
              <div class="panel-title hidden-xs"> <span class="glyphicon glyphicon-tasks"></span> Danh sách quản trị viên</div>
              
              <ul class="nav panel-tabs">
                <li class="active"><button onclick="window.location='<?php echo $baseurl.'manage/add-user.html'?>'" type="button" class="btn btn-info btn-gradient btn-sm">Thêm quản trị mới</button></li>
              </ul>
              
              
            </div>
            <div class="panel-body padding-bottom-none">
              <table class="table table-striped table-bordered table-hover" id="datatable">
                <thead>
                  <tr style="background: #CCC;color: #FFF">
                    <th style="width: 5%">STT</th>
                    <th style="width: 15%">Username</th>
                    <th style="width: 15%">Fullname</th>
                    <th style="width: 35%">Email</th>
                    <th style="width: 25%">Số điện thoại</th>
                    <th style="width: 5%" class="text-center">Tác vụ</th>
                  </tr>
                </thead>
                <tbody>
                <?php $i = 1; foreach($data AS $el=>$le):?>
                  <tr>
                    <td><span class="xedit text-center"><center><?php echo $page == 0 ? $i : ($page++) + 1;?></center></span></td>
                    <td class="hidden-xs hidden-sm"><?php echo $le->username?></td>
                    <td class="hidden-xs"><span class="xedit"><?php echo $le->fullname?></span></td>
                    <td class="hidden-xs"><span class="xedit"><?php echo $le->email?></span></td>
                    <td class="hidden-xs"><span class="xedit"><?php echo $le->mobile?></span></td>
                    <td class="hidden-xs text-center"><div class="btn-group">
                        <button type="button" class="btn btn-danger btn-gradient dropdown-toggle" data-toggle="dropdown"> <span class="glyphicons glyphicons-cogwheel"></span> </button>
                        <ul class="dropdown-menu checkbox-persist pull-right text-left" role="menu">
                          <li><a href="<?php echo $baseurl.'manage/edit-user.html?id='.$le->id?>"><i class="fa"></i> Sửa </a></li>
                          <li><a href="<?php echo $baseurl.'manage/delete-user.html?id='.$le->id?>"><i class="fa"></i> Xóa </a></li>
                        </ul>
                      </div></td>
                  </tr>
                <?php $i++; endforeach;?>
                </tbody>
              </table>
              <div class="pagination">
                <?php echo $this->pagination->create_links();?> 
            </div>
            </div>
          </div>
        </div>
      </div>
    </div>